package com.bwie.mapper;

import com.bwie.pojo.dto.CustomerDto;
import com.bwie.pojo.po.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {
    List<Customer> customerList(CustomerDto customerDto);

    void add(@Param("list") List<Customer> list);

    List<Customer> list();

    List<Customer> selectState(@Param("state") Integer state);

    List<Customer> selectCustomerName(@Param("customerName") String customerName);

    List<Customer> selectCustomerId(@Param("ids") List<Integer> ids);

    Integer selectCount();

}
